package me.work.pay.jsyl.mvp.model.entity;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * @author xubo
 * @date 2018/9/20 9:57
 */
public class SettlementRecordData {

    /**
     * showList : [{"ali_commission":275.4,"status":1,"wx_paidout":195899.86,"payment_time":"2018-09-04","moneyActivityCommission":0,"wx_commission":747.81,"payment_status":"已结算","cardNo":"1981*********0086","cardName":"河北保定时代商厦有限公司","pay_type":"银行卡","ali_paidout":72174.37,"start_time":"09-03","money_paidout":268074.23,"commission":1023.21},{"ali_commission":657.82,"status":1,"wx_paidout":359988.36,"payment_time":"2018-09-03","moneyActivityCommission":0,"wx_commission":1373.52,"payment_status":"已结算","cardNo":"1981*********0086","cardName":"河北保定时代商厦有限公司","pay_type":"银行卡","ali_paidout":172405.9,"start_time":"09-02","money_paidout":532394.26,"commission":2031.34},{"ali_commission":490.94,"status":1,"wx_paidout":336788.27,"payment_time":"2018-09-02","moneyActivityCommission":0,"wx_commission":1284.96,"payment_status":"已结算","cardNo":"1981*********0086","cardName":"河北保定时代商厦有限公司","pay_type":"银行卡","ali_paidout":128607.35,"start_time":"09-01","money_paidout":465395.62,"commission":1775.9},{"ali_commission":370.17,"status":1,"wx_paidout":275158.54,"payment_time":"2018-09-01","moneyActivityCommission":0,"wx_commission":1049.69,"payment_status":"已结算","cardNo":"1981*********0086","cardName":"河北保定时代商厦有限公司","pay_type":"银行卡","ali_paidout":97038.84,"start_time":"08-31","money_paidout":372197.38,"commission":1419.86}]
     * searchStatistics : {"paidoutMoney":1638061.49,"noPaidoutMoney":0,"noPaidoutDate":""}
     */

    private SearchStatisticsBean searchStatistics;
    private List<ShowListBean> showList;

    public SearchStatisticsBean getSearchStatistics() {
        return searchStatistics;
    }

    public void setSearchStatistics(SearchStatisticsBean searchStatistics) {
        this.searchStatistics = searchStatistics;
    }

    public List<ShowListBean> getShowList() {
        return showList;
    }

    public void setShowList(List<ShowListBean> showList) {
        this.showList = showList;
    }

    public static class SearchStatisticsBean {
        /**
         * paidoutMoney : 1638061.49
         * noPaidoutMoney : 0
         * noPaidoutDate :
         */

        private double paidoutMoney;
        private double noPaidoutMoney;
        private String noPaidoutDate;

        public double getPaidoutMoney() {
            return paidoutMoney;
        }

        public void setPaidoutMoney(double paidoutMoney) {
            this.paidoutMoney = paidoutMoney;
        }

        public double getNoPaidoutMoney() {
            return noPaidoutMoney;
        }

        public void setNoPaidoutMoney(int noPaidoutMoney) {
            this.noPaidoutMoney = noPaidoutMoney;
        }

        public String getNoPaidoutDate() {
            return noPaidoutDate;
        }

        public void setNoPaidoutDate(String noPaidoutDate) {
            this.noPaidoutDate = noPaidoutDate;
        }
    }

    public static class ShowListBean implements Parcelable {

        /**
         * ali_commission : 275.4
         * status : 1
         * wx_paidout : 195899.86
         * payment_time : 2018-09-04
         * moneyActivityCommission : 0
         * wx_commission : 747.81
         * payment_status : 已结算
         * cardNo : 1981*********0086
         * cardName : 河北保定时代商厦有限公司
         * pay_type : 银行卡
         * ali_paidout : 72174.37
         * start_time : 09-03
         * money_paidout : 268074.23
         * commission : 1023.21
         */

        private double ali_commission;
        private int status;
        private double wx_paidout;
        private String payment_time;
        private int moneyActivityCommission;
        private double wx_commission;
        private String payment_status;
        private String cardNo;
        private String cardName;
        private String pay_type;
        private double ali_paidout;
        private String start_time;
        private double money_paidout;
        private double commission;
        private double member_paidout;
        private double member_commission;

        public double getMember_paidout() {
            return member_paidout;
        }

        public void setMember_paidout(double member_paidout) {
            this.member_paidout = member_paidout;
        }

        public double getMember_commission() {
            return member_commission;
        }

        public void setMember_commission(double member_commission) {
            this.member_commission = member_commission;
        }

        public double getAli_commission() {
            return ali_commission;
        }

        public void setAli_commission(double ali_commission) {
            this.ali_commission = ali_commission;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public double getWx_paidout() {
            return wx_paidout;
        }

        public void setWx_paidout(double wx_paidout) {
            this.wx_paidout = wx_paidout;
        }

        public String getPayment_time() {
            return payment_time;
        }

        public void setPayment_time(String payment_time) {
            this.payment_time = payment_time;
        }

        public int getMoneyActivityCommission() {
            return moneyActivityCommission;
        }

        public void setMoneyActivityCommission(int moneyActivityCommission) {
            this.moneyActivityCommission = moneyActivityCommission;
        }

        public double getWx_commission() {
            return wx_commission;
        }

        public void setWx_commission(double wx_commission) {
            this.wx_commission = wx_commission;
        }

        public String getPayment_status() {
            return payment_status;
        }

        public void setPayment_status(String payment_status) {
            this.payment_status = payment_status;
        }

        public String getCardNo() {
            return cardNo;
        }

        public void setCardNo(String cardNo) {
            this.cardNo = cardNo;
        }

        public String getCardName() {
            return cardName;
        }

        public void setCardName(String cardName) {
            this.cardName = cardName;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public double getAli_paidout() {
            return ali_paidout;
        }

        public void setAli_paidout(double ali_paidout) {
            this.ali_paidout = ali_paidout;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public double getMoney_paidout() {
            return money_paidout;
        }

        public void setMoney_paidout(double money_paidout) {
            this.money_paidout = money_paidout;
        }

        public double getCommission() {
            return commission;
        }

        public void setCommission(double commission) {
            this.commission = commission;
        }

        public ShowListBean() {
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeDouble(this.ali_commission);
            dest.writeInt(this.status);
            dest.writeDouble(this.wx_paidout);
            dest.writeString(this.payment_time);
            dest.writeInt(this.moneyActivityCommission);
            dest.writeDouble(this.wx_commission);
            dest.writeString(this.payment_status);
            dest.writeString(this.cardNo);
            dest.writeString(this.cardName);
            dest.writeString(this.pay_type);
            dest.writeDouble(this.ali_paidout);
            dest.writeString(this.start_time);
            dest.writeDouble(this.money_paidout);
            dest.writeDouble(this.commission);
            dest.writeDouble(this.member_paidout);
            dest.writeDouble(this.member_commission);
        }

        protected ShowListBean(Parcel in) {
            this.ali_commission = in.readDouble();
            this.status = in.readInt();
            this.wx_paidout = in.readDouble();
            this.payment_time = in.readString();
            this.moneyActivityCommission = in.readInt();
            this.wx_commission = in.readDouble();
            this.payment_status = in.readString();
            this.cardNo = in.readString();
            this.cardName = in.readString();
            this.pay_type = in.readString();
            this.ali_paidout = in.readDouble();
            this.start_time = in.readString();
            this.money_paidout = in.readDouble();
            this.commission = in.readDouble();
            this.member_paidout = in.readDouble();
            this.member_commission = in.readDouble();
        }

        public static final Creator<ShowListBean> CREATOR = new Creator<ShowListBean>() {
            @Override
            public ShowListBean createFromParcel(Parcel source) {
                return new ShowListBean(source);
            }

            @Override
            public ShowListBean[] newArray(int size) {
                return new ShowListBean[size];
            }
        };
    }
}
